package site.yujiang;

import org.springframework.stereotype.Service;
import site.yujiang.clients.PongClient;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@Service
public class PingService {

    @Resource
    private PongClient pongClient;

    public String ping() {
        return pongClient.pong();
    }
}
